Skip to content

West Midlands | July-SDC | Gabriel Deng |Sprint 4 | Laptop-allocation#38

Open
gai93003 wants to merge 2 commits into
CodeYourFuture:mainfrom
gai93003:laptop-allocation
Open

West Midlands | July-SDC | Gabriel Deng |Sprint 4 | Laptop-allocation#38
gai93003 wants to merge 2 commits into
CodeYourFuture:mainfrom
gai93003:laptop-allocation

Conversation

@gai93003

@gai93003 gai93003 commented Oct 20, 2025

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

@github-actions

Copy link
Copy Markdown

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (Module-Decomposition - Sprint 4) doesn't match expected format (example: 'Sprint 2', without quotes)

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

4 similar comments
@github-actions

Copy link
Copy Markdown

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (Module-Decomposition - Sprint 4) doesn't match expected format (example: 'Sprint 2', without quotes)

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

@github-actions

Copy link
Copy Markdown

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (Module-Decomposition - Sprint 4) doesn't match expected format (example: 'Sprint 2', without quotes)

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

@github-actions

Copy link
Copy Markdown

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (Module-Decomposition - Sprint 4) doesn't match expected format (example: 'Sprint 2', without quotes)

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

@github-actions

Copy link
Copy Markdown

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (Module-Decomposition - Sprint 4) doesn't match expected format (example: 'Sprint 2', without quotes)

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

@gai93003 gai93003 added 🏕 Priority Mandatory This work is expected Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Oct 20, 2025
@github-actions

Copy link
Copy Markdown

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (Module-Decomposition - Sprint 4) doesn't match expected format (example: 'Sprint 2', without quotes)

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

1 similar comment
@github-actions

Copy link
Copy Markdown

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (Module-Decomposition - Sprint 4) doesn't match expected format (example: 'Sprint 2', without quotes)

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

@gai93003 gai93003 changed the title West Midlands | July-SDC | Gabriel Deng | Module-Decomposition - Sprint 4 | Laptop-allocation West Midlands | July-SDC | Gabriel Deng |Sprint 4 | Laptop-allocation Oct 20, 2025
@github-actions

Copy link
Copy Markdown

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

@gai93003 gai93003 closed this Oct 20, 2025
@gai93003 gai93003 reopened this Oct 20, 2025
@gai93003 gai93003 added the Module-Decomposition The name of the module. label Oct 20, 2025

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good start at this task, and it will work for the interactive method you're using. But if you re-read the spec in the task (https://sdc.codeyourfuture.io/decomposition/sprints/4/backlog/#04-implement-laptop-allocation) It's asking for a specific method that takes a list of possible laptops, a list of possible people, and then returns a matching for all of them.

Can you extend your code to meet that criteria?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Oct 28, 2025
@gai93003

gai93003 commented Oct 29, 2025 via email

Copy link
Copy Markdown
Author

@gai93003

gai93003 commented Mar 8, 2026

Copy link
Copy Markdown
Author

Hi @LonMcGregor, The link is no longer functional. I think the sprint is no longer not existing and as such amd getting 'Page not found'. What do you suggest I should do?

@LonMcGregor

Copy link
Copy Markdown
Contributor

The task has been moved here: https://sdc.codeyourfuture.io/tools/sprints/5/backlog/#implement-laptop-allocation

Specifically,have a look at the part which says "Write a function with this signature:"

Your solution works for a single person, given by the input. How would you allocate multiple laptops to multiple people?

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add some examples at the end of the script so I can see how you are testing this function please?

This looks like an interesting implementation, can you explain how you are using masks here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Decomposition The name of the module. 🏕 Priority Mandatory This work is expected Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants